package entity;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "PNLNum")
public class PNLNum {
    private String wipEntityPnl;
    private Item[] items;

    @XmlAttribute
    public String getWipEntityPnl() {
        return wipEntityPnl;
    }

    public void setWipEntityPnl(String wipEntityPnl) {
        this.wipEntityPnl = wipEntityPnl;
    }

    @XmlElement(name = "item", nillable = true)
    //@XmlElementWrapper(name = "items")
    public Item[] getItems() {
        return items;
    }

    public void setItems(Item[] items) {
        this.items = items;
    }
}